BEWARE: the version of RPi5GPIO.py in Source 02 will NOT handle physical GPIO pin numbers.#Test_RPi5GPIO_D.py #By D@CC on 2024AJan18 #Purpose: Control GPIO using RPi.GPIO code on a RPi 5B #Source: https://ephotocaption.com/a/213/213.html import time PINout=12 #import RPi.GPIO as GPIO #Deprecated # v import RPi5GPIO as GPIO # -> import RPi5GPIO as GPIO GPIO.setmode(GPIO.BCM) # ^ GPIO.setup(PINout,GPIO.OUT) while True: GPIO.output(PINout,True) #turn LED on time.sleep(1) GPIO.output(PINout,False) #turn LED off time.sleep(1) #/Test_RPi5GPIO_D.py
>$ usr/bin/vcgencmd measure_temp >$ temp=64.2'C or >$ cd Desktop/IX_assets >:~Desktop/IX_assets $ sh CPU_temp.sh >$ temp=64.2'CThe Raspberry Pi 5B will automatically throttle the clock speed making an effort to keep the CPU temperature below 85'C. It will also make best use of any available fan or active cooler. To date the author is using a 4GB RPi 5B and SSD using a feeble power supply (designed for an RPi 4). Minor computing activities, to date, have put no stress on this little power supply, temperatures remaining below 70°C. Pinouts for the RPi 5B can be found in Source 05.